package com.blog.pojo;

import com.blog.util.UUIdGenId;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
public class User {

    public User() {
        UUIdGenId uid = new UUIdGenId();
        this.id = uid.genId("0", "999");
    }

    private String id;
    private String account;
    private String password;
    private String qq_email;
    private String personal_data;
    private String head_portrait;
    private java.sql.Timestamp vip_date;
    private int state;
    private int is_remove;
    private java.sql.Timestamp create_date_time;
}
